//
//  HTTPRequestManager.h
//  AutoHome
//
//  Created by Flying meat on 9/10/15.
//  Copyright (c) 2015 CaoFeng. All rights reserved.
//

#import <Foundation/Foundation.h>
//成功的回调
typedef void (^httpSuccess)(id responseObject);

//失败的回调
typedef void (^httpFailure)(NSError *error);

@interface HTTPRequestManager : NSObject
//单例
+(instancetype)shareInstance;

//请求欢迎界面数据
-(void)getWelcomeInforSuccess:(httpSuccess)success failure:(httpFailure)failure;



//推荐界面
-(void)getRecommendInforByCt:(int)ct Nt:(int)nt success:(httpSuccess)success failure:(httpFailure)failure;

//论坛========精选日报
-(void)getFancyTopicInforByc:(int)Fancynum success:(httpSuccess)success failure:(httpFailure)failure;
//找车========排行榜
-(void)getCarWithPaiBySt:(int)St success:(httpSuccess)success failure:(httpFailure)failure;


@end
